@import './base.css';
@import './transition.css';

* {
  margin: 0;
  padding: 0;
}

body,
html {
  width: 100%;
  height: 100vh;
}

#app {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.com-full {
  width: 100%;
  height: 100%;
}

.com-ipt {
  width: 250px;
}

::-webkit-scrollbar {
  width: 3px;
  height: 13px;
  background-color: rgba(90, 96, 101, 0.05);
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  border-radius: 9999rem;
  background-color: transparent;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 9999rem;
  background-color: rgba(44, 80, 107, 0.2);
}

.ant-table-thead {
  .ant-table-cell {
    background-color: #EBECF0 !important;
  }
}

.ant-table-cell {
  border-color: transparent !important;
  border-right: 2px solid #fff !important;
}

.ant-menu-item,
.ant-menu-submenu-title {
  &:hover {
    color: #09c69099 !important;
  }

  &:active {
    background-color: rgba(0, 173, 104, 0.05) !important;
  }
}

.com-table-bm {
  background-color: #F5F8FA;
}

.com-delbtn {
  color: #F13838;

  &:hover {
    color: #f13838be !important;
  }
}

.ant-menu-item-selected {
  background-color: rgba(0, 173, 104, 0.05) !important;
}

.com-spin {
  width: 100%;
  height: 100%;

  .ant-spin-container {
    width: 100%;
    height: 100%;
  }
}

.com-title {
  font-size: 16px;
  font-weight: 500;
  color: #2c3749;
  line-height: 22px;
  letter-spacing: 0.02px;
}

.amap-logo,
.amap-copyright {
  pointer-events: none;
  opacity: 0;
}

.com-slh {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}